<template>
  <div class="header">
    <router-link class="header_left" to="/">
      <span class="iconfont back">&#xe665;</span>
    </router-link>
    <div class="header_mid">
      <span class="iconfont select">&#xe611;</span>
      <span class="header_mid_content">输入商家名、品类或商圈</span>
    </div>
    <div class="header_right">
      <span class="iconfont mine">&#xe62f;</span>
    </div>
  </div>
</template>

<script>
export default {
  name: "FoodHeader"
};
</script>

<style scoped>
.header {
  background: #fafafa;
  height: 0.9rem;
  line-height: 0.9rem;
  display: flex;
  width: 100%;
  align-items: center;
}
.header_left {
  height: 0.9rem;
  width: 12.5%;
  line-height: 0.9rem;
}
.header_left span {
  color: #06c1ae;
  font-weight: bold;
  font-size: 0.4rem;
}
.header_mid {
  font-size: 0.26rem;
  height: 0.6rem;
  line-height: 0.6rem;
  border-radius: 0.5rem;
  overflow: hidden;
  background: #ebeced;
  width: 81.25%;
}
.iconfont.select {
  margin-right: 0.12rem;
  display: inline-block;
  vertical-align: middle;
  color: #8e8e94;
  font-weight: bold;
}
.header_mid_content {
  font-size: 0.26rem;
  color: #999999;
  letter-spacing: 0.22px;
}
.header_right {
  width: 6.25%;
  padding: 0 0.3rem;
  text-align: center;
}
.header_right span{
  font-size: 0.45rem;
}
.iconfont.mine {
  color: #06c1ae;
  font-weight: bold;
}
</style>